#include "virmachinetool.h"

VirmachineTool* VirmachineTool::_instance=nullptr;

VirmachineTool* VirmachineTool::GetInstance(QObject* parent){
    if(VirmachineTool::_instance==nullptr)
        VirmachineTool::_instance=new VirmachineTool(parent);
    return VirmachineTool::_instance;
}

VirmachineTool::~VirmachineTool(){

}

std::function<void()> VirmachineTool::GetToolFunction(Yzty::VirMachineToolCode code){
    std::function<void()> tool;

    return tool;
}

VirmachineTool::VirmachineTool(QObject* parent):QObject (parent){

}
